<script>
  export let name = "Home";

  // import { goto } from "@sveltejs/kit";

  function navigate() {
    // goto("/about/123");
  }
</script>

<h1>{name} 页面</h1>
<nav>
  <a href="/about">讨论一下</a> <br />
  <a href="/about/123">讨论一下，并传参</a>
</nav>
<button on:click={navigate}>跳转</button>
